package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 *网络供应链数据
 * @author huangtao
 */
@TableName(value = "glc_network_order_data")
public class OrderData implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "batch_id")
    private Long batchId; //批次号

    @TableField(value = "order_quantity")
    private Integer orderQuantity; //订单数量

    @TableField(value = "sign_quantity")
    private Integer signQuantity; //订单数量

    @TableField(value = "branch_center")
    private String branchCenter; //分中心

    @TableField(value = "branch_id")
    private Long branchId; //分中心ID

    @TableField(value = "branch_lng")
    private String branchLng;

    @TableField(value = "branch_lat")
    private String branchLat;

    @TableField(value = "delivery_center")
    private String deliveryCenter; //配送中心

    @TableField(value = "delivery_id")
    private Long deliveryId; //配送中心ID

    @TableField(value = "delivery_lng")
    private String deliveryLng;

    @TableField(value = "delivery_lat")
    private String deliveryLat;

    @TableField(value = "factory_name")
    private String factoryName; //工厂名称

    @TableField(value = "factory_id")
    private Long factoryId;

    @TableField(value = "factory_lng")
    private String factoryLng;

    @TableField(value = "factory_lat")
    private String factoryLat;

    @TableField(value = "promise_arrival")
    private Date promiseArrival; //承诺到货日期

    @TableField(value = "preparation_car")
    private Date preparationCar; //配车制单日期

    @TableField(value = "car_arrive")
    private Date carArrive; //车队到分中心登记日期

    @TableField(value = "expected_center")
    private Date expectedCenter; //承诺到货日期

    @TableField(value = "operator_id")
    private Long operatorId;//操作人

    @TableField(value = "create_time")
    private Date createTime; //创建日期

    @TableField(value = "customer")
    private String customer;

    @TableField(value = "good")
    private String good;

    @TableField(value = "order_time")
    private Date orderTime; //承诺到货日期

    @TableField(exist = false)
    private String batchName; //批次名称

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public Integer getOrderQuantity() {
        return orderQuantity;
    }

    public void setOrderQuantity(Integer orderQuantity) {
        this.orderQuantity = orderQuantity;
    }

    public Integer getSignQuantity() {
        return signQuantity;
    }

    public void setSignQuantity(Integer signQuantity) {
        this.signQuantity = signQuantity;
    }

    public String getBranchCenter() {
        return branchCenter;
    }

    public void setBranchCenter(String branchCenter) {
        this.branchCenter = branchCenter;
    }

    public Long getBranchId() {
        return branchId;
    }

    public void setBranchId(Long branchId) {
        this.branchId = branchId;
    }

    public String getBranchLng() {
        return branchLng;
    }

    public void setBranchLng(String branchLng) {
        this.branchLng = branchLng;
    }

    public String getBranchLat() {
        return branchLat;
    }

    public void setBranchLat(String branchLat) {
        this.branchLat = branchLat;
    }

    public String getDeliveryCenter() {
        return deliveryCenter;
    }

    public void setDeliveryCenter(String deliveryCenter) {
        this.deliveryCenter = deliveryCenter;
    }

    public Long getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(Long deliveryId) {
        this.deliveryId = deliveryId;
    }

    public String getDeliveryLng() {
        return deliveryLng;
    }

    public void setDeliveryLng(String deliveryLng) {
        this.deliveryLng = deliveryLng;
    }

    public String getDeliveryLat() {
        return deliveryLat;
    }

    public void setDeliveryLat(String deliveryLat) {
        this.deliveryLat = deliveryLat;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public Long getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }

    public String getFactoryLng() {
        return factoryLng;
    }

    public void setFactoryLng(String factoryLng) {
        this.factoryLng = factoryLng;
    }

    public String getFactoryLat() {
        return factoryLat;
    }

    public void setFactoryLat(String factoryLat) {
        this.factoryLat = factoryLat;
    }

    public Date getPromiseArrival() {
        return promiseArrival;
    }

    public void setPromiseArrival(Date promiseArrival) {
        this.promiseArrival = promiseArrival;
    }

    public Date getPreparationCar() {
        return preparationCar;
    }

    public void setPreparationCar(Date preparationCar) {
        this.preparationCar = preparationCar;
    }

    public Date getCarArrive() {
        return carArrive;
    }

    public void setCarArrive(Date carArrive) {
        this.carArrive = carArrive;
    }

    public Date getExpectedCenter() {
        return expectedCenter;
    }

    public void setExpectedCenter(Date expectedCenter) {
        this.expectedCenter = expectedCenter;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getGood() {
        return good;
    }

    public void setGood(String good) {
        this.good = good;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }
}
